package com.cloudsigns.factorymanager2.produce.activity.produce_team;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.cloudsigns.factorymanager2.BaseActivity;
import com.cloudsigns.factorymanager2.R;

public class ProduceTeamWorkAttendanceActivity extends BaseActivity {
    private RelativeLayout rl_back;
    private TextView tv_title;
    private LinearLayout ll_sign_in, ll_sign_back;
    private TextView sign_in_time, sign_back_time;

    @Override
    protected void onBaseCreate(Bundle savedInstanceState) {
        setContentView(R.layout.layout_produce_team_work_attendance);
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        rl_back = findViewById(R.id.rl_back);
        tv_title = findViewById(R.id.tv_title);
        ll_sign_in = findViewById(R.id.ll_sign_in);
        ll_sign_back = findViewById(R.id.ll_sign_back);
        sign_in_time = findViewById(R.id.sign_in_time);
        sign_back_time = findViewById(R.id.sign_back_time);
    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        tv_title.setText(getResources().getString(R.string.sing_in_back));
    }

    @Override
    public void setListener() {
        rl_back.setOnClickListener(this);
        ll_sign_in.setOnClickListener(this);
        ll_sign_in.setOnClickListener(this);
    }

    @Override
    public void widgetClick(View view) {
        switch (view.getId()) {
            case R.id.rl_back:
                finish();
                break;
            // 签到
            case R.id.ll_sign_in:
                break;
            // 签退
            case R.id.ll_sign_back:
                break;
        }
    }
}
